(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["libs/components/dynamic-demo-template"],{

/***/ 736:
/*!************************************************************************************************!*\
  !*** H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue ***!
  \************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dynamic-demo-template.vue?vue&type=template&id=59f5e4c0&scoped=true& */ 737);
/* harmony import */ var _dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dynamic-demo-template.vue?vue&type=script&lang=js& */ 739);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dynamic-demo-template.vue?vue&type=style&index=0&id=59f5e4c0&lang=scss&scoped=true& */ 741);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 35);

var renderjs





/* normalize component */

var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "59f5e4c0",
  null,
  false,
  _dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "libs/components/dynamic-demo-template.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 737:
/*!*******************************************************************************************************************************************!*\
  !*** H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=template&id=59f5e4c0&scoped=true& ***!
  \*******************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dynamic-demo-template.vue?vue&type=template&id=59f5e4c0&scoped=true& */ 738);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_template_id_59f5e4c0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),

/***/ 738:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=template&id=59f5e4c0&scoped=true& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function () {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  var s0 = _vm.multiMode ? _vm.__get_style([_vm.modeSwitchSliderStyle]) : null
  var s1 = _vm.__get_style([_vm.sectionScrollViewStyle])
  _vm.$mp.data = Object.assign(
    {},
    {
      $root: {
        s0: s0,
        s1: s1,
      },
    }
  )
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 739:
/*!*************************************************************************************************************************!*\
  !*** H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=script&lang=js& ***!
  \*************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dynamic-demo-template.vue?vue&type=script&lang=js& */ 740);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 740:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=script&lang=js& ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default2 = {
  name: 'dynamic-demo-template',
  props: {
    // 可选项列表数据
    sectionList: {
      type: Array,
      default: function _default() {
        return [];
      }
    },
    // 提示信息
    tips: {
      type: [String, Array],
      default: ''
    },
    // 演示框的内容是否为铺满
    full: {
      type: Boolean,
      default: false
    },
    // 是否使用了自定义顶部导航栏
    customBar: {
      type: Boolean,
      default: true
    },
    // 是否全屏滚动
    fullWindowsScroll: {
      type: Boolean,
      default: false
    },
    // 没有演示内容
    noDemo: {
      type: Boolean,
      default: false
    }
  },
  computed: {
    tipsData: function tipsData() {
      if (typeof this.tips === 'string') {
        return [this.tips];
      }
      return this.tips;
    },
    haveTips: function haveTips() {
      return this.tips && this.tips.length > 0;
    },
    multiMode: function multiMode() {
      return this.sectionList.length > 1;
    },
    sectionModeList: function sectionModeList() {
      return this.sectionList.map(function (item) {
        return item.name;
      });
    }
  },
  data: function data() {
    return {
      //       tuniaoColorList: this.$t.color.getTuniaoColorList(),
      // 保存选项列表信息（由于prop中的数据时不能被修改的）
      _sectionList: [],
      // 模式列表信息
      sectionModeListInfos: [],
      // 所选模式的序号
      modeIndex: 0,
      // 模式选择滑块样式
      modeSwitchSliderStyle: {
        width: 0,
        left: 0
      },
      // 显示组件相关提示信息
      showContentTips: false,
      // 可选项滚动容器样式
      sectionScrollViewStyle: {
        height: 0
      },
      // 按钮列表信息
      btnsList: [],
      // 标记当前所选按钮
      sectionIndex: [],
      // 标记选项按钮是否可以滑动（使用scroll-view进行包裹）
      sectionScrollFlag: true
    };
  },
  watch: {
    sectionList: {
      handler: function handler(value) {
        // 如果sectionList发生改变，重新初始化选项列表信息
        this.initSectionBtns();
      },
      deep: true
    },
    sectionScrollFlag: function sectionScrollFlag(value) {
      if (!value) {
        this.sectionScrollViewStyle.height = 'auto';
      }
    },
    fullWindowsScroll: {
      handler: function handler(value) {
        if (value) {
          this.sectionScrollViewStyle.height = 'auto';
        }
      },
      immediate: true
    }
  },
  created: function created() {
    // 初始化可选项模式列表
    this.sectionModeListInfos = this.sectionModeList.map(function (item) {
      return {
        name: item
      };
    });
    // 初始化选项按钮默认信息
    this.initSectionBtns();
  },
  mounted: function mounted() {
    var _this = this;
    // 等待加载组件完成
    // setTimeout(() => {
    //   // 计算出底部scroll-view的高度
    //   this.initSectionScrollView()

    //   if (this.multiMode) {
    //     // 获取模式切换标签的信息
    //     this.getModeTabsInfo()
    //   }
    // }, 10)
    this.$nextTick(function () {
      // 计算出底部scroll-view的高度
      _this.initSectionScrollView();
      if (_this.multiMode) {
        // 获取模式切换标签的信息
        _this.getModeTabsInfo();
      }
    });
  },
  methods: {
    // 初始化选项滑动窗口的高度
    initSectionScrollView: function initSectionScrollView() {
      var _this2 = this;
      // 全屏滚动时不进行任何的操作
      if (this.fullWindowsScroll) {
        return;
      }
      // 获取屏幕的高度
      uni.getSystemInfo({
        success: function success(systemInfo) {
          // 通过当前屏幕的安全高度减去上一个元素的底部和距离上一个元素的外边距，然后减获取到的值减去标题栏的高度即可
          var navBarHeight = _this2.customBar ? 0 : _this2.vuex_custom_bar_height;
          if (_this2.multiMode) {
            uni.createSelectorQuery().in(_this2).select('.mode-switch').boundingClientRect(function (data) {
              if (data.bottom >= systemInfo.safeArea.height) {
                _this2.sectionScrollFlag = false;
              } else {
                _this2.sectionScrollFlag = true;
                var containerBaseHeight = systemInfo.safeArea.height - data.bottom;
                _this2.sectionScrollViewStyle.height = containerBaseHeight - navBarHeight + systemInfo.statusBarHeight - uni.upx2px(75) + 'px';
              }
            }).exec();
          } else {
            if (!_this2.noDemo) {
              uni.createSelectorQuery().in(_this2).select('.demo-container').boundingClientRect(function (data) {
                if (data.bottom >= systemInfo.safeArea.height) {
                  _this2.sectionScrollFlag = false;
                } else {
                  _this2.sectionScrollFlag = true;
                  var containerBaseHeight = systemInfo.safeArea.height - data.bottom;
                  _this2.sectionScrollViewStyle.height = containerBaseHeight - navBarHeight + systemInfo.statusBarHeight - uni.upx2px(75) + 'px';
                }
              }).exec();
            } else {
              _this2.sectionScrollFlag = false;
            }
          }
        }
      });
    },
    // 更新选项滑动容器的高度
    updateSectionScrollView: function updateSectionScrollView() {
      var _this3 = this;
      this.$nextTick(function () {
        _this3.initSectionScrollView();
      });
    },
    // 获取各个模式tab的节点信息
    getModeTabsInfo: function getModeTabsInfo() {
      var _this4 = this;
      var view = uni.createSelectorQuery().in(this);
      for (var i = 0; i < this.sectionModeListInfos.length; i++) {
        view.select('.mode-switch-item-' + i).boundingClientRect();
      }
      view.exec(function (res) {
        // 如果没有获取到，则重新获取
        if (!res.length) {
          setTimeout(function () {
            _this4.getModeTabsInfo();
          }, 10);
          return;
        }
        // 将每个模式的宽度放入list中
        res.map(function (item, index) {
          _this4.sectionModeListInfos[index].width = item.width;
        });
        // 初始化滑块的宽度
        _this4.modeSwitchSliderStyle.width = _this4.sectionModeListInfos[0].width + 'px';

        // 初始化滑块的位置
        _this4.modeSliderPosition();
      });
    },
    // 设置模式滑块的位置
    modeSliderPosition: function modeSliderPosition() {
      var _this5 = this;
      var left = 0;
      // 计算当前所选模式选项到组件左边的距离
      this.sectionModeListInfos.map(function (item, index) {
        if (index < _this5.modeIndex) left += item.width;
      });
      this.modeSwitchSliderStyle.left = left + 'px';
    },
    // 切换模式
    switchMode: function switchMode(index) {
      // 不允许点击当前激活的选项
      if (index === this.modeIndex) return;
      this.modeIndex = index;
      this.modeSliderPosition();
      this.updateSectionBtns();
      this.$emit('modeClick', {
        index: index
      });
    },
    // 点击内容提示信息
    demoTipsClick: function demoTipsClick() {
      this.showContentTips = !this.showContentTips;
    },
    // 初始化被选中选项按钮
    initSectionBtns: function initSectionBtns() {
      this.sectionIndex = [];
      this.sectionIndex = this.sectionList.map(function (item) {
        if (item.hasOwnProperty('section') && item.section.length > 0) {
          return Array(item.section.length).fill({
            value: 0,
            change: false
          });
        } else {
          return [];
        }
      });
      this._sectionList = this.$t.deepClone(this.sectionList);
      // 给本地选项按钮列表给默认show属性
      this._sectionList.map(function (item) {
        var section = item.section.map(function (section_item) {
          if (!section_item.hasOwnProperty('show')) {
            section_item.show = true;
          }
          return section_item;
        });
        item.section = section;
        return item;
      });

      // 更新按钮信息
      this.updateSectionBtns();
    },
    // 跟新选项按钮信息
    updateSectionBtns: function updateSectionBtns() {
      var _this6 = this;
      var sectionIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
      var showState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
      var sectionOptional = this._sectionList[this.modeIndex]['section'];
      this.btnsList = sectionOptional.map(function (item, index) {
        // 判断是否已经修改了对应的值
        var changeValue = _this6.sectionIndex[_this6.modeIndex][index]['change'] || false;
        var currentSectionIndexValue = _this6.sectionIndex[_this6.modeIndex][index]['value'] || 0;
        // 取出默认值(如果是已经修改过的选项，则使用之前的选项信息)
        var indexValue = changeValue ? currentSectionIndexValue : item.hasOwnProperty('current') ? item.current : 0;
        // 取出是否显示当前选项
        var show = sectionIndex !== -1 && sectionIndex === index ? showState : item.hasOwnProperty('show') ? item.show : true;
        // 处理最大最小值
        if (indexValue < 0) {
          indexValue = 0;
        }
        if (indexValue >= item.optional.length) {
          indexValue = item.optional.length;
        }
        // this.sectionIndex[this.modeIndex][index]['value'] = indexValue
        _this6.$set(_this6.sectionIndex[_this6.modeIndex], index, {
          value: indexValue,
          change: changeValue
        });
        item.show = show;
        return item;
      });
    },
    // 更新选项按钮状态信息
    updateSectionBtnsState: function updateSectionBtnsState() {
      var _this7 = this;
      var sectionIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
      var showState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
      // 判断sectionIndex是否为数组
      if (this.$t.array.isArray(sectionIndex)) {
        if (sectionIndex.length === 0) {
          return;
        }
        sectionIndex = sectionIndex.filter(function (item) {
          return item >= 0 && item < _this7.sectionList[_this7.modeIndex]['section'].length;
        });
        sectionIndex.map(function (item) {
          _this7.btnsList[item]['show'] = showState;
          _this7._sectionList[_this7.modeIndex]['section'][item]['show'] = showState;
        });
      } else {
        if (sectionIndex < 0 || sectionIndex >= this.sectionList[this.modeIndex]['section'].length) {
          return;
        }
        // 将按键的对应显示状态设置为对应的状态
        this.btnsList[sectionIndex]['show'] = showState;
        this._sectionList[this.modeIndex]['section'][sectionIndex]['show'] = showState;
      }
    },
    // 更新选项按钮选中信息
    updateSectionBtnsValue: function updateSectionBtnsValue() {
      var modeIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
      var sectionIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
      var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
      if (sectionIndex < 0 || sectionIndex >= this.sectionList[modeIndex]['section'].length) {
        return;
      }
      // 如果showState为false则移除对应的选项按钮，否则往对应的位置添加上对应的选项按钮
      this.sectionIndex[modeIndex][sectionIndex] = {
        value: value,
        change: true
      };
    },
    // 选项按钮点击事件
    sectionBtnClick: function sectionBtnClick(index, sectionIndex) {
      // if (this.sectionIndex[this.modeIndex][index] === sectionIndex) {
      //   return
      // }
      this.$set(this.sectionIndex[this.modeIndex], index, {
        value: sectionIndex,
        change: true
      });
      this.$emit('click', {
        methods: this.btnsList[index]['methods'],
        index: sectionIndex,
        name: this.btnsList[index]['optional'][sectionIndex]
      });
    }
  }
};
exports.default = _default2;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))

/***/ }),

/***/ 741:
/*!**********************************************************************************************************************************************************!*\
  !*** H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=style&index=0&id=59f5e4c0&lang=scss&scoped=true& ***!
  \**********************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dynamic-demo-template.vue?vue&type=style&index=0&id=59f5e4c0&lang=scss&scoped=true& */ 742);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_dynamic_demo_template_vue_vue_type_style_index_0_id_59f5e4c0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 742:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!H:/0.1贵州币梦网络科技有限公司/uniapp/UI官网/萧萧租赁 - 房东 - 业务员/libs/components/dynamic-demo-template.vue?vue&type=style&index=0&id=59f5e4c0&lang=scss&scoped=true& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })

}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/libs/components/dynamic-demo-template.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'libs/components/dynamic-demo-template-create-component',
    {
        'libs/components/dynamic-demo-template-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(736))
        })
    },
    [['libs/components/dynamic-demo-template-create-component']]
]);
